//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Example #2--TestFrame
// CS 151, 6 Apr 2009
// ECC, Spring 2009
// Niko Culevski
// An Example of alternate version using Swing and JFrame
//~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
import javax.swing.*;
public class JTestFrame			//tests the frame class
{
    public static void main (String args [])
	{
        JFrame jframe = new JFrame("Example #2");
	    jframe.setSize(250,100);	//250x100 pixels
	    jframe.setVisible(true);
	}
}